<?php

namespace App\Repositories\Policy\Eloquent;

use App\Repositories\Policy\Contracts\HbGjPolicyInterface;

class HbGjPolicyRepository extends HbGjRepository implements HbGjPolicyInterface
{


    /**
     * 查询是否可退
     * @param $param
     * @return false|null
     */
    public function canRefund($param){

        $url = '/distribution/api/order/ticket/can/refund?access_token='.$this->getAccessToken()['access_token'];

        return $this->postRequest($url,$param);
    }
}